package com.atguigu.gmall.search.service;

import com.atguigu.gmall.search.Goods;
import com.atguigu.gmall.search.vo.SearchParamVo;
import com.atguigu.gmall.search.vo.SearchResultVo;

/**
 * @author lfy
 * @Description
 * @create 2023-08-26 8:43
 */
public interface GoodsService {
    void save(Goods goods);

    void deleteById(Long skuId);

    /**
     * 搜
     * @param searchParam
     * @return
     */
    SearchResultVo search(SearchParamVo searchParam);

    void updateHotScore(Long skuId, Long score);
}
